#include "AppMacros.h"

#ifndef __MONKEY_SLIDE__Config__
#define __MONKEY_SLIDE__Config__

// define font name default
#define kFontName "Arial"

// The font size 24 is designed for small resolution, so we should change it to fit for current design resolution
#define kFontSize  (cocos2d::CCEGLView::sharedOpenGLView()->getDesignResolutionSize().width / smallResource.size.width * 24)

// file 
#define kFileModeRead "r"
#define kFileModeWrite "w"
// path save file
// on android
#define kPathAndroid "/data/data/softtech.apps.MonkeySlide/"
// on window
#define kPathWin32 "D:/"

#define kDifference 200

#define kMaxLenght 3

#define kMaxRand 5

#define kCloudDistancePeerMove 200

#define kCloudSpeed 1.5f

#define kTreeMoveUpSpeed 0.1f

#define kRangeMove 0.05f

//ZORDER
#define kZorderTree 2

// list vat can
enum Obstructions
{
	kBough = 0,
	kFruit,
	kEnemy
};

//class MonkeyCollision
enum 
{
	kMKCIsDell = 1,
	kMKCNotDell = 0,
	kMKCIsMokeysEat = 1,
	kMKCNotMokeysEat = 0,
	kMKCIsBreak = 1,
	kMKCNotBreak = 0,
	kMKCIsEnemyCollision = 1,
	kMKCNotEnemyCollision = 0,
	kMKCIsOver = 1,
	kMKCNotOver = 0
};

//end MonkeyCollision

//Class Vines
enum VinesStatus
{
	VHIDE = 0,
	VSHOW,
	VCOLLISION
};

enum VinesType
{
	VBIG = 0,
	VSMALL,
	VWILTING
};

enum VinesIsLeft
{
	VISLEFT = -1,
	VISRIGHT = 1
};

#define kImageVinesBig "dayleo.png"
#define kImageVinesSmall "dayleo.png"
#define kImageVinesWilting "dayleo.png"


//End Vines



//class Fruit
enum FruitStatus
{
	FHIDE = 0,
	FSHOW,
	FCOLLISION
};

enum FruitType
{
	FBANANA = 0,
	FAPPLE,
	FPEAR
};

enum FruitIsLeft
{
	FISLEFT = -1,
	FISRIGHT = 1
};

#define kImageFruitBanana "cock.png"
#define kImageFruitApple "cock.png"
#define kImageFruitPear "cock.png"
//end Fruit

//class Bough
enum BoughStatus
{
	BBREAK = 0,
	BSHOW,
	BCOLLISION
};

enum BoughType
{
	BTYPE1 = 0,
	BTYPE2,
};

enum BoughIsLeft
{
	BISLEFT = -1,
	BISRIGHT = 1
};

#define kImageBoughType1 "cock.png"
#define kImageBoughType2 "cock.png"
//end Bough

//class Enemy
enum EnemyStatus
{
	EATTACK = 0,
	ESHOW,
	ECOLLISION
};

enum EnemyType
{
	ESNAKE = 0,
	EWORM,
	ECENTIBEDE //con rit
};

enum EnemyIsLeft
{
	EISLEFT = -1,
	EISRIGHT = 1
};

#define kImageEnemySnake "cock1.png"
#define kImageEnemyWorm "cock2.png"
#define kImageEnemyCentibede "cock3.png"
//end Enemy

//class Monkey
enum Status
{
	Idle = 0,
	isJump,
	isJumpLeft,
	isJumpRight,
	isDie
};

enum MonkeyStatus 
{
    MKIDLE = 0,
    MKCLIMBING,
	MKFALL,
	MKDEATH,
	MKFOOT,
	MKFLYTHROUGHWIRE,
	MKFLYTHROUGHTREE,
	MKWEARY
};

enum MonkeyHeath
{
	MKHEATHZERO = 0,
	MKHEATHFULL = 100,
	MKHEATHWARNING = 20
};

enum MonkeyDirection
{
    isTurningLeft  = 1,
    isTurningRight  = -1,
};

#define kHeathInBanana 15
#define kHeathInApple 10
#define kHeathInPear 5

//anh khi
#define kImageMonkey "monkey/monkey0.png"
#define kPlistMonkey "monkey/monkey0.plist"
#define kJsonMonkey "monkey/monkey.ExportJson"
#define kNameMonkey "monkey"

#define kZoderMonkey 400
//end monkey

#define kImageBoa "monkey/monkey0.png"
#define kPlistBoa "monkey/monkey0.plist"
#define kJsonBoa "monkey/monkey.ExportJson"
#define kNameBoa "monkey"


#endif